package product;

public class Test {
    public static void main(String[] args) {
        ShoppingCart shoppingCart = new ShoppingCart();
        Product product01 = new Product("苹果", 0.99);
        Product product02 = new Product("香蕉", 0.59);
        Product product03 = new Product("梨", 0.79);

        shoppingCart.addProduct(product01);
        shoppingCart.addProduct(product02);
        shoppingCart.addProduct(product03);

        shoppingCart.printCartDetails();

    }
}
